package monster.comm.dialect;

import java.sql.PreparedStatement;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.mapping.ParameterMapping;

/**
 * 
 * @author wanghong
 */
public class Dialect {
	
    public boolean supportsLimit(){
    	return false;
    }

    public boolean supportsLimitOffset() {
    	return supportsLimit();
    }
    public String getCommentSQL(String tableName){
    	throw new UnsupportedOperationException("comment queries not supported");
    }
    public String getLimitString(String sql, boolean hasOffset) {
    	throw new UnsupportedOperationException("paged queries not supported");
    }
    
    
    public String getLimitString(String sql, int offset, int limit) {
    	throw new UnsupportedOperationException("paged queries not supported");
    }
    public void setLimitParamters(PreparedStatement ps ,List<ParameterMapping> list,Map<String,Object> map){
    	throw new UnsupportedOperationException("paged queries not supported");
    }
   
    
}
